package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.AttrEntity;
import com.gulimall.product.vo.AttrRespVo;
import com.gulimall.product.vo.AttrVO;

import java.util.Map;
import java.util.Set;

/**
 * 商品属性
 *
 * @author kkk
 * @email 2017809755@qq.com
 * @date 2022-05-17 21:49:10
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params, Integer catId, String type);

    void saveAttr(AttrVO attr);

    AttrRespVo getAttrResp(Long attrId);

    void updateAttr(AttrRespVo attr);

    Set<Long> getSearchAttrId(Long catalogId);
}

